/*!
 * tykhome - tag.js
 * Author tykhome <yongketian@gmail.com>
 */

/**
 * Module dependencies.
 */
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var TagSchema = new Schema({
	name: { type: String },
	// description: { type: String },
	soft_count: { type: Number, default: 0 },
	// collect_count: { type: Number, default: 0 },
	create_at: { type: Date, default: Date.now }
});

mongoose.model('Tag', TagSchema);
